			<div class="charge">
				<ul class="headContent">
						<li style="margin-top: 14px;margin-left:24px;">
							<div>
								<span>姓名</span> 
								<input id="customerIds" name="customer.ids"  type="hidden"  value="${customer.ids !}">
								<input id="customerRegisttime"  name="customer.registtime"  type="hidden"  value="${customer.registtime!}">
								<input class="easyui-combobox" name="language" style="width:120px;height:32px;"  id="customerName" name="customer.name"  value="${customerName !}"  
							data-options="
							url:'${cxt!}/bentryRegister/getCusInfo',
							method:'post',
							valueField:'name',
							textField:'name'
							">
							</div>
						</li>
						<li style="margin-left: 30px;">
							<div>
								<span>手机号</span>
							<input class="easyui-combobox" name="language" style="width:120px;height:32px;"  id="customerPhone" name="customer.phone"  value="${phone !}"  
							data-options="
							url:'${cxt!}/bentryRegister/getCusInfo',
							method:'post',
							valueField:'phone',
							textField:'phone'
							">
							</div>
						</li>
						<li style="margin-left: 30px;">
							<div>
								<span>会员编号</span>
								
								<input class="easyui-combobox" name="language" style="width:120px;height:32px;"  id="customerHybh" name="customer.hybh"  value="${customerHybh !}"  
							data-options="
							url:'${cxt!}/bentryRegister/getCusInfo',
							method:'post',
							valueField:'hybh',
							textField:'hybh'
							">
							   
							</div>
						</li>
						<li style="margin-left: 0px;">
							<div>
								<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:80px" id="search" onclick="searchCus()">搜索</a>
								<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-clear'" style="width:80px"  onclick="clearsj()">清除</a>
							</div>
						</li>
						
					</ul>
			</div>	
		<script type="text/javascript">
		function  clearsj(){
			parent.window.nodeClick("正在服务", "/beingServed");
			
		}
			function  searchCus(){
				
				var hybh=$('#customerHybh').val();
				var name=$('#customerName').val();
				var phone=$('#customerPhone').val();
				if(hybh==''&&name==''&&phone==''){
					$.alert(parent.$, "查询信息不可为空！");
					return false;
				}
				var url='/bentryRegister/getCusByHybh';
				var data={"hybh":hybh,"name":name,"phone":phone};
				var reData = common_ajax.ajaxFunc(url,data,"json");
				if(reData.msg==200){
					$("#customerIds").val(reData.customer.ids);
					$("#customerName").textbox('setValue',reData.customer.name);
					$("#customerPhone").textbox('setValue',reData.customer.phone);
					$("#customerHybh").textbox('setValue',reData.customer.hybh);
					parent.window.nodeClick("正在服务", "/beingServed/view?phone="+ reData.customer.phone+"&hybh="+reData.customer.hybh);
					
				}else{
					$.alert(parent.$, reData.msg);
				}
				return  reData;
			}
			
			
			
			$(document).ready(function () {

				$("#customerName").combobox({

				onChange: function (n,o) {

					$("#customerPhone").textbox("clear");
					$("#customerHybh").textbox("clear");

				}

				});
				$("#customerPhone").combobox({

					onChange: function (n,o) {

						$("#customerName").textbox("clear");
						$("#customerHybh").textbox("clear");

					}

					});
				$("#customerHybh").combobox({

					onChange: function (n,o) {

						$("#customerName").textbox("clear");
						$("#customerPhone").textbox("clear");

					}

					});
				});
		</script>
				
					